package com.demo.event.dto;

import org.springframework.context.ApplicationEvent;

/**
 *
 * @author
 * @since
 */
public class UserLoginEvent01 extends ApplicationEvent {

  private UserDto userDto;

  /**
   * Create a new {@code ApplicationEvent}.
   *
   * @param source the object on which the event initially occurred or with
   *               which the event is associated (never {@code null})
   */
  public UserLoginEvent01(Object source, UserDto userDto) {
    super(source);
    this.userDto = userDto;
  }
}
